<div class="hp-tab-newprd">
    <ul class="j-sw-nav">
        <li class="newprd-s1 tab-li"><a href="<?php echo base_path();?>sales/sales_log/list">查看</a></li>
        <?php if(arg(2) == 'edit' && !empty(arg(3))){?>
            <li class="newprd-s3 tab-li on"><a href="javascript:void(0)">修改</a></li>
        <?php }?>
    </ul>
    <div class="table-div" >
        <div class="small-select small-input column" style="clear:both">
            <div class="form-label">日志日期:</div><?php print render($form['sales_log_date']); ?>
        </div>
        <div class="small-select small-input column" style="clear:both">
            <div class="form-label">销售员:</div><?php print render($form['employee_list']); ?>
        </div>
        <div class="small-select small-input column" style="clear:both">
            <?php  print _address_render_for_add($form)?>
        </div>
        <div class="small-select small-input column" style="clear:both">
            <div class="small-div"><div class="form-label">详细地址:</div><?php print render($form['addr_details']); ?></div>
        </div>
        <div class="small-select small-input column" style="clear:both">
            <div class="small-div"><div class="form-label">客户名称:</div><?php print render($form['client']); ?></div>
        </div>
        <div class="small-select small-input column" style="clear:both">
            <div class="small-div"><div class="form-label">联系人:</div><?php print render($form['contact']); ?></div>
            <div class="small-div"><div class="form-label">联系电话:</div><?php print render($form['phone']); ?></div>
        </div>
        <div class="small-select max-input column" style="clear:both">
            <div class="form-label">工作内容主题（20字）:</div><?php print render($form['work_title']); ?>
        </div>
        <div class="small-select small-input column" style="clear:both">
            <div class="form-label">详情或心得（200字）:</div><div style="margin-left: 11.3em; "><?php print render($form['work_details']); ?></div>
        </div>
        <div class="add-submit" style="text-align: center"><?php print render($form['submit']); ?></div>
    </div>
</div>
</div>
<?php print drupal_render_children($form); ?>